:root {
    --agent-bg-dark: #0d1117;
    --agent-bg-panel: #161b22;
    --agent-border: #30363d;
    --agent-text-primary: #c9d1d9;
    --agent-text-secondary: #8b949e;

    --agent-accent-strategy: #f1c40f;
    /* Gold */
    --agent-accent-swarm: #00d2ff;
    /* Cyan */
    --agent-accent-intervention: #ff4757;
    /* Red */

    --agent-font-mono: 'Courier New', monospace;
    /* Fallback until we load a webfont */
    --agent-font-ui: system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--agent-bg-dark) !important;
    color: var(--agent-text-primary) !important;
    font-family: var(--agent-font-ui);
}

.neo-viewport {
    background-color: var(--agent-bg-dark);
}

/* Panel Overrides */
.neo-panel-header-text {
    font-family: var(--agent-font-mono);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

/* Logo */
.agent-logo {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.agent-logo img {
    height: 30px;
    filter: drop-shadow(0 0 5px var(--agent-accent-swarm));
}

/* Strategy Panel */
.agent-panel-strategy .neo-panel-header {
    border-bottom: 2px solid var(--agent-accent-strategy);
}

.agent-panel-strategy .neo-panel-header-text {
    color: var(--agent-accent-strategy);
}

.agent-kpi-container {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.agent-kpi-card {
    background: var(--agent-bg-panel);
    border: 1px solid var(--agent-border);
    padding: 15px;
    border-radius: 6px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.agent-kpi-value {
    font-size: 2.5em;
    color: var(--agent-accent-strategy);
    font-weight: bold;
    font-family: var(--agent-font-mono);
}

.agent-kpi-label {
    color: var(--agent-text-secondary);
    font-size: 0.85em;
    text-transform: uppercase;
    margin-top: 5px;
}

/* Swarm Panel */
.agent-panel-swarm .neo-panel-header {
    border-bottom: 2px solid var(--agent-accent-swarm);
}

.agent-panel-swarm .neo-panel-header-text {
    color: var(--agent-accent-swarm);
}

/* Intervention Panel */
.agent-panel-intervention .neo-panel-header {
    border-bottom: 2px solid var(--agent-accent-intervention);
}

.agent-panel-intervention .neo-panel-header-text {
    color: var(--agent-accent-intervention);
}

.agent-terminal {
    background: #000;
    color: var(--agent-accent-intervention);
    font-family: var(--agent-font-mono);
    padding: 15px;
    border-radius: 4px;
    border: 1px solid var(--agent-border);
    height: 100%;
    overflow-y: auto;
}

.agent-log-entry {
    margin-bottom: 5px;
    border-bottom: 1px solid #333;
    padding-bottom: 2px;
}

.agent-log-timestamp {
    color: #666;
    margin-right: 10px;
}